export default class RotationCtr extends Laya.Script {
   
    constructor() { super(); }
    
    onEnable(): void {
        // this.owner["pivotX"]=this.owner["width"]/2;
        // this.owner["pivotY"]=this.owner["height"]/2;
    }

    onDisable(): void {
    }

    onUpdate(): void {
        this.owner["rotation"] += 1;
    }
}